
public class Slot {
	private int number;
	private String color;
	
	public Slot(int newnumber){
		number=newnumber;
		if(number==0){
			color="green";
		}else if(number==1
				||number==3
				||number==5
				||number==7
				||number==9
				||number==12
				||number==14
				||number==16
				||number==18
				||number==19
				||number==21
				||number==23
				||number==30
				||number==32
				||number==34
				||number==36){
			color="red";
		}else{
			color="black";
		}
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}
}
